package ace.tool.generate.code.impl.generator.graphql;

import ace.tool.generate.code.impl.generator.graphql.model.GraphqlTemplateModel;

/**
 * @author caspar
 * @date 2023/11/17 9:57 spring data jdbc entity 生成graphql input file
 */
public class GraphqlInputGenerator extends AbstractGraphqlGenerator<GraphqlInputGeneratorInput> {
  @Override
  protected String getFileName(
      GraphqlInputGeneratorInput input, GraphqlTemplateModel graphqlTemplateModel) {
    return String.format("%sInput.graphqls", input.getParams().getSimpleName());
  }
}
